<template>
  <div class="agreementPage">
    <van-nav-bar title="申请协议" left-arrow @click-left="onClickLeft" />
    <div class="centenBox">
      <div class="title">{{ infoData.agreement_title }}</div>
      <div v-html="infoData.agreement_content"></div>
    </div>
  </div>
</template>
<script>
export default {
  props: ["infoData"],
  data() {
    return {};
  },
  methods: {
    onClickLeft() {
      this.$emit("closePopup");
    }
  }
};
</script>
<style lang="scss" scoped>
.agreementPage {
  overflow: hidden;
}
.centenBox {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1.16rem 0.75rem 0.5rem 0.75rem;
  .title {
    font-weight: bold;
    font-size: 1rem;
    color: #00001c;
    margin-bottom: 1rem;
  }
}
</style>
